//
//  Auction_SpecialSaleBusinessInfoAptitude_View_WX.m
//  ZITHER
//
//  Created by weixin on 2019/6/4.
//  Copyright © 2019 weixn. All rights reserved.
//

#import "Auction_SpecialSaleBusinessInfoAptitude_View_WX.h"

@implementation Auction_SpecialSaleBusinessInfoAptitude_View_WX

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.backgroundColor = [UIColor whiteColor];
        [self setCornerRadiusWithRadius:6 isMasks:YES];
        [self setUI];
    }
    return self;
}

-(void)setUI{
    [self.leftBtn mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self).offset(10);
        make.centerY.equalTo(self).offset(0);
        make.height.mas_equalTo(18);
    }];
    [self.rightBtn mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self).offset(-10);
        make.centerY.equalTo(self).offset(0);
        make.height.mas_equalTo(18);
    }];
}

-(BaseBtn *)leftBtn{
    if (!_leftBtn) {
        _leftBtn = [BaseBtn initCustomBtnImageAndTitles:@[@"店铺：大表行"] images:@[] color:@[]];
        [self addSubview:_leftBtn];
    }
    return _leftBtn;
}

-(BaseBtn *)rightBtn{
    if (!_rightBtn) {
        _rightBtn = [BaseBtn initCustomBtnImageAndTitles:@[@"店铺资质 >"] images:@[] color:@[]];
        [self addSubview:_rightBtn];
    }
    return _rightBtn;
}

@end
